Each unit production center displays the cost of the unit to be constructed and the amount of those items currently available. You also see some information about the functions or quality of the units you could order constructed.
Warships tend to cost more in commodities such as lumber or armaments, but both civilians and military regiments actually deduct workers from the labor force. Civilians, in fact, are most expensive because they always require an expert worker.